javascript code with harry